package sicnu.cs.aps.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.io.Serializable;

/**
 * 活动限制报名对象的限制条件(TActivityRestriction)实体类
 *
 * @author makejava
 * @since 2022-05-26 15:23:04
 */
@With
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_activity_restriction")
public class ActivityRestriction implements Serializable {
    private static final long serialVersionUID = -56120050357435316L;
    /**
     * 活动的id
     */
    @TableId(type = IdType.INPUT)
    private Long id;
    /**
     * 学院限制
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String collegeIds;
    /**
     * 专业限制
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String majorIds;
    /**
     * 年级限制
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String grades;
    /**
     * 地区限制
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String area;
    /**
     * 性别限制0-不限制性别，1-男，2-女
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer sex;
    /**
     * 小队人数上限
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer teamSize;
    /**
     * 报名活动人数上限
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer activitySize;


}

